home *** CD-ROM | disk | FTP | other *** search
- Path: news.compuserve.com!newsmaster
- From: 100754.2730@compuserve.com (Martin Aupperle)
- Newsgroups: comp.lang.c++
- Subject: Re: Name-mangling standard
- Date: Fri, 26 Jan 1996 10:01:10 GMT
- Organization: CompuServe Incorporated
- Message-ID: <4ea942$kq6@dub-news-svc-1.compuserve.com>
- References: <20c.32169.607@newage.com.ar>
- NNTP-Posting-Host: ad02-055.compuserve.com
- X-Newsreader: Forte Free Agent v0.56
-
- juan.jose.comellas@newage.com.ar (Juan Jose Comellas) wrote:
-
- >Is anyone aware of any ANSI/ISO standard for name-mangling in C++? I
- >currently work with several different C++ compilers and I sometimes
- >want to compile a part of the project with one compiler and another
- >part with another one, but different schemes for name-mangling make
- >this impossible.
-
- It's not only name mangling that is not standardized. Object layout is
- another thing. Where do you put the additional stuff necessary to have
- virtual functions, inheritance, RTTI, exception handling? You need
- some additional pointers in your objects and some additional data
- structures these pointers point to - and all this IS NOT STANDARDIZED.
-
-
- So even if you find two compilers that use the same name mangling
- scheme, and assume your linker links the modules - chances are that
- the program crashes before even entering main.
-
- Martin
- -----------------------------------
- Signatures are a waste of bandwidth
- -----------------------------------
-
-